]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
notificationDaemon: Fix button parameter name
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 26 Oct 2013 02:40:22 +0000 (04:40 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 27 Oct 2013 10:38:36 +0000 (11:38 +0100)
Gio ended up using 'target' rather than 'action-target'.

https://bugzilla.gnome.org/show_bug.cgi?id=710596

js/ui/notificationDaemon.js

index 928b1a97151563c4ce9c497d2d1587e780899f0c..b956db06c19d44df388e9b433304bae191d1de47 100644 (file)
@@ -759,7 +759,7 @@ const GtkNotificationDaemonNotification = new Lang.Class({
     },
 
     _onButtonClicked: function(button) {
-        let { "action": action, "action-target": actionTarget } = button;
+        let { 'action': action, 'target': actionTarget } = button;
         this._activateAction(action.unpack(), actionTarget);
     },